# coding=utf-8


class SourceClassModel(object):
    def __init__(self,
                 class_name='',
                 file_name='',
                 package_name='',
                 service_code='',
                 description='',
                 class_type='',

                 at_class_list=None,
                 import_class_list=None,
                 field_list=None,
                 enum_list=None,
                 ):
        self.class_name = class_name
        self.file_name = file_name
        self.package_name = package_name
        self.service_code = service_code
        self.description = description
        self.class_type = class_type
        self.hasListProperty = False

        if at_class_list is None:
            self.at_class_list = []
        else:
            self.at_class_list = at_class_list

        if import_class_list is None:
            self.import_class_list = []
        else:
            self.import_class_list = import_class_list

        if field_list is None:
            self.field_list = []
        else:
            self.field_list = field_list

        if enum_list is None:
            self.enum_list = []
        else:
            self.enum_list = enum_list